/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sambi.mvc.dao;

import com.mysql.jdbc.jdbc2.optional.MysqlDataSource;
import com.sambi.mvc.model.AbstractModel;
import com.sambi.mvc.model.InvoicesSearchModel;

/**
 *
 * @author Habib
 */
public class InvoicesDao extends DaoService<InvoicesSearchModel>{
    
    static MysqlDataSource dataSource;
            
    private InvoicesDao() {
        super(InvoicesSearchModel.class);
    }
    
    public static InvoicesDao getInstance() {
        return InvoicesDaoHolder.INSTANCE;
    }
    
    private static class InvoicesDaoHolder {

        private static final InvoicesDao INSTANCE = new InvoicesDao();
    }
    
}
